@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  // padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}
//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.redFont {
  color: red;
}

.states_5,
.blueFont {
  color: blue;
}

.states_2,
.babyblueFont {
  color: #9296fa;
}

.states_46,
.states_47,
.states_48,
.states_49,
.purpleFont {
  color: #d64dd2;
}

.brownFont {
  color: #d98d00;
}

.font248676 {
  color: #248676;
}

.greenFont {
  color: #429d26;
}

.states_1,
.brownFont {
  color: #9d6647;
}

.bjkbs-query-item {
  display: inline-block;
  margin-left: 10px;
}

.main-model {
  width: vw(1920);
  height: vh(1080);
  background: linear-gradient(to bottom, rgb(21, 69, 116) 0%, rgb(2, 9, 19) 100%);
}

.el-main {
  padding: 0!important;
}



.infoModel {
  .infoTitle {
    // padding: 10px 30px;
    padding: 5px;
    color: #60A9FF;
    font-size: 20px;
    font-weight: 700;
    height: 50px;
    // border-top-left-radius: 30px;
    // background-color: rgb(21, 69, 131);
  }


  .infoItem1 {
    position: relative;
    min-height: 36px;
    line-height: 36px;
    color: #ffffff;
    margin-bottom: 5px;
    // border-top-left-radius: 36px;
    // border-bottom-left-radius: 36px;
    // background-color: rgba(101, 8, 28, 0.6);
    background-color: rgba(36, 121, 245, 0.4);

    ._num {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translate(0, -50%);
      width: 36px;
      height: 36px;
      // border-radius: 50%;
      text-align: center;
      border: 1px solid #eee;
      background: linear-gradient(to bottom, #2DE1FD, #0E8BFF);
    }

    ._cont {
      margin-left: 40px;
    }
  }

  .infoItem2 {
    position: relative;
    min-height: 36px;
    line-height: 36px;
    color: #f4f4f4;
    margin-bottom: 5px;
    // border-top-left-radius: 36px;
    // border-bottom-left-radius: 36px;
    background-color: rgba(53, 165, 235, 0.8);

    ._num {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translate(0, -50%);
      width: 36px;
      height: 36px;
      // border-radius: 50%;
      text-align: center;
      border: 1px solid #eee;
      background: linear-gradient(to bottom, #1291bc, #343482);
    }

    ._cont {
      margin-left: 40px;
    }
  }
}

.home-model-search {
  position: absolute;
  top: 20px;
  left: 30px;
  border-top: 4px solid rgb(9, 171, 242);
  border-bottom: 4px solid rgb(9, 171, 242);
  background: rgb(11, 91, 167);

  .el-form--inline .el-form-item {
    margin: 0 5px;
  }
}

.home-model-left {
  position: relative;
}

.home-model-right {
  // border: 1px solid rgb(104, 106, 110);
  // border-radius: 5px;
  padding: 5px;
}

.infoTable {
  width: 100%;
  color: #60A9FF;

  tr:nth-child(even) {
    background: rgb(3, 12, 19);
  }

  tr:nth-child(odd) {
    background: rgb(9, 47, 87);
  }

  td {
    padding: 7px 5px;
  }
}

.home-model-right {
  // border: 1px solid rgb(104, 106, 110);
  // border-radius: 5px;
  padding: 5px;

  .infoContent {
    padding-top: 48px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .infoModel {
    position: relative;

    .infoTitle {
      position: absolute;
      padding: 5px;
      top: 0;
      left: 0;
      width: 100%;
          height: 50px;

      // background-color: #375b8b;
    }

    .infoBody {
      height: 100%;
      padding-top: 48px;
      box-sizing: border-box;
      background: rgba(4, 46, 56, 0.264);
    }
  }
}

.rightJ {
  // width: 50px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
}

.scrollXd .infoTitle {
  z-index: 1;
}


.scrollXd .infoContent {
  padding-top: 0 !important;
}


.home-model-right .infoModel .infoTitle {
  z-index: 1;
}

.infoList {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.scroll-div {
  position: absolute;
  width: 100%;
  bottom: -1px;
  margin-top: 10px;
  overflow: hidden;
  // border-top-left-radius: 30px;
}

// @keyframes scroll {
//   0% {
//     margin-top: 10px;
//   }
//   100% {
//     margin-top: 50px;
//   }
// }

.home-model-right .infoModel .infoTitle {
  z-index: 1;
}

.infoList {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.scroll-div {
  position: absolute;
  width: 100%;
  bottom: -1px;
  margin-top: 10px;
  overflow: hidden;
  // border-top-left-radius: 30px;
}
